﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StatusPattren1
{
    public  class LightContext
    {

        public BaseStatus _baseStatus;
        public LightContext()
        {
            _baseStatus = new StatusOn();
        }

        public void PressSwtich()
        {
            _baseStatus.PressSwtich(this);
        }

    }
}
